<template>
  <div>
    <header>
      <van-row type="flex" justify="space-between">
        <van-col span="8">
          <router-link to="/layout/Mine">
            <van-icon name="arrow-left" />
          </router-link>
        </van-col>
        <van-col span="8">查看个人信息</van-col>
        <van-col span="8"></van-col>
      </van-row>
    </header>
    <div class="msgBody">
      <div>
        头像：
        <img
          :src="$store.state.userInfo.avatar"
          alt=""
          style="width: 64px; vertical-align: middle"
        />
      </div>
      <div style="margin-top: 20px">
        账号： {{ $store.state.userInfo.loginName }}
      </div>
      <div style="margin-top: 20px">
        昵称： {{ $store.state.userInfo.userName }}
      </div>
    </div>
    <!-- 底部 -->
  </div>
</template>
<script>
export default {};
</script>
<style lang="less" scoped>
* {
  margin: 0;
  padding: 0;
}
header {
  width: 100%;
  height: 50px;
  line-height: 50px;
  background-color: #eee;
}
.msgBody {
  margin: 30px;
}
</style>